package com.example.restaurant.controller.form;

import com.example.restaurant.common.allenum.OrderStatus;
import com.example.restaurant.model.OrderInfo;
import com.example.restaurant.service.dto.OrderInfoDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class AddOrderForm {

    @NotNull
    private Integer storeId;

    @NotNull
    private Integer deskId=1;

    @NotNull
    private Double discount;

    @NotNull
    private Integer peopleNumber;

    @NotNull
    private Long totalAmount;

    private List<OrderInfoDto> orderForm;





}
